
public class Tuple {

	int A1;
	int A2;
	
	public Tuple(int A1, int A2) {
		this.A1 = A1;
		this.A2 = A2;
	}
	
	public int get(String name) {
		if (name.equalsIgnoreCase("A1")) {
			return A1;
		}
		else return A2;
	}
	
	public int getA1 () {
		return A1;
	}
	
	public int getA2 () {
		return A2;
	}

}
